package com.repast.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.repast.pojo.Appoint;

public interface AppointMapper {
    int deleteByPrimaryKey(Integer appointId);

    int insert(Appoint record);

    int insertSelective(Appoint record);

    Appoint selectByPrimaryKey(Integer appointId);

    int updateByPrimaryKeySelective(Appoint record);

    int updateByPrimaryKey(Appoint record);

	List<Appoint> selectAppointByOpenidAndCreateTime(@Param("openid")String openid, @Param("appointCreateTime")String appointCreateTime);

	List<Appoint> selectAppointByOpenid(String openid);

	Appoint selectMaxIdAppointByOpenid(String openid);
}